package com.acme.bankapp.domain.bank;

public class EMail {
	private Client client;
	private String address;
	
	public EMail(Client client, String address) {
		super();
		this.client = client;
		this.address = address;
	}
	
	public Client getClient() {
		return client;
	}
	
	public String getAddress() {
		return address;
	}
	
	@Override
	public String toString() {
		return "<" + address + "> " + client.getClientSalutation();
	}
}
